package com.zhengshang.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhengshang.common.annotation.Excel;
import com.zhengshang.common.core.domain.BaseEntity;

/**
 * 商品分类对象 app_goods_category
 * 
 * @author zhengshang
 * @date 2022-04-16
 */
public class AppGoodsCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long goodsCategoryId;

    /** 所属导航 */
    @Excel(name = "所属导航")
    private Long navigateId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 分类排序 */
    @Excel(name = "分类排序")
    private Long categorySort;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setGoodsCategoryId(Long goodsCategoryId) 
    {
        this.goodsCategoryId = goodsCategoryId;
    }

    public Long getGoodsCategoryId() 
    {
        return goodsCategoryId;
    }
    public void setNavigateId(Long navigateId) 
    {
        this.navigateId = navigateId;
    }

    public Long getNavigateId() 
    {
        return navigateId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setCategorySort(Long categorySort) 
    {
        this.categorySort = categorySort;
    }

    public Long getCategorySort() 
    {
        return categorySort;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsCategoryId", getGoodsCategoryId())
            .append("navigateId", getNavigateId())
            .append("categoryName", getCategoryName())
            .append("categorySort", getCategorySort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
